package com.buba.commodity.servicec.impl;

import com.buba.commodity.pojo.ProductBland;
import com.buba.commodity.service.BlandService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("blandServiceImpl")
public class BlandServiceImpl implements BlandService {
    @DubboReference  //用在消费端，表明使用的是服务端的什么服务
    private BlandService blandService;

    @Override
    public long selBlandCount(Map<String, Object> map) {
        return blandService.selBlandCount(map);
    }

    @Override
    public List<ProductBland> selBland(Map<String, Object> map) {
        return blandService.selBland(map);
    }
}
